<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>后台</title>

    <link type="text/css" rel="stylesheet" href="js/jquery-easyui-1.5.3/themes/default/easyui.css"/>
    <link type="text/css" rel="stylesheet" href="js/jquery-easyui-1.5.3/themes/icon.css"/>
    <link type="text/css" rel="stylesheet" href="css/main.css">

</head>
<body>

<div class="easyui-layout" id="mainBox">
    <div data-options="region:'north',split:true" style="height: 80px" class="mainTop">
        <div class="topLogin"><img src="img/logoImg.png"/> <div class="topLongRight">味之坊后台管理</div></div>
        <div class="topText">
            <a href="${pageContext.request.contextPath}/IndexWeb/findIndex.do" target="_blank"
             class="textActive" target="frameName">
                <p style="margin-top: 10px"><img src="img/home.png"/> </p>
                <p style="margin-top: 5px">网站首页</p>
            </a>
            
             <div style="float: right; padding: 20px 15px 0 20px;font-size:18px;margin:20px 100px;">
		             ${LOGIN_USER.adminName}&nbsp;&nbsp;&nbsp;欢迎进入味之坊美食后台管理系统~
	         </div>
	         
        </div>
           
        <!--<div class="topMean"><i class="i_admin"></i> <a href="#" >管理员</a><span class="spanBlock"></span> </div>-->
         <div href="javascript:void(0)" id="mb" class="easyui-menubutton topMean"
           data-options="menu:'#mm',iconCls:'icon-admin'">管理员帐号</div>
        <div id="mm" >
            <div data-options="iconCls:'icon-man'"><a href="javascript:void(0)" onclick="openMes()">个人信息</a> </div>
            <div data-options="iconCls:'icon-redo'"><a href="javascript:void(0) "onclick="saveExit()">安全退出</a> </div>
            <div data-options="iconCls:'icon-cancel'"><a href="<%=basePath%>/admin/Admin/logout.do"
						class="easyui-linkbutton"  data-options="plain:true">安全退出</a> </div>

        </div>
    </div>
    <div data-options="region:'south',split:true" style="height:40px;" class="footStyle">
        版本所有@民师院——枸杞泡水组
    </div>
    <div  data-options="region:'west',title:'功能菜单',split:true,iconCls:'icon-left01'" style="width:200px;">
        <div id="left01"  class="easyui-accordion" >
        
            <div title="基本信息管理" data-options="iconCls:'icon-remove',selected:true" class="mainPanle">
                <p><i class="i_a i_user"></i><a href="usermessage.jsp" target="frameName">用户信息管理</a> </p>
                <p><i class="i_a i_neesTable"></i><a href="food.jsp" target="frameName">美食文章管理</a> </p>
                <p><i class="i_a i_sport02"></i><a href="foodType.jsp" target="frameName">美食类型管理</a> </p>
                <p><i class="i_a i_sport02"></i><a href="makeType.jsp" target="frameName">制作类型管理</a> </p>
                
            </div>
            <div title="消息管理" data-options="iconCls:'icon-left04'" class="mainPanle">
                <p><i class="i_a i_news"></i><a href="notice.jsp" target="frameName">公告管理</a> </p>
                <p><i class="i_a i_news"></i><a href="info.jsp" target="frameName">资讯管理</a> </p>

            </div>
            
            <div title="评论信息管理" data-options="iconCls:'icon-left05'" class="mainPanle">
                <p><i class="i_a i_table"></i> <a href="comment.jsp" target="frameName">评论管理</a> </p>
                <p><i class="i_a i_table"></i> <a href="reply.jsp" target="frameName">回复管理</a> </p>
            </div>
            
            
            <div title="系统管理" data-options="iconCls:'i_part'" class="mainPanle">
                <p><i class="i_a i_user"></i><a href="admin.jsp" target="frameName">系统用户管理</a> </p>
                <p><i class="i_a icon-redo"></i><a href="<%=basePath%>/admin/Admin/logout.do"
						class="easyui-linkbutton"  data-options="plain:true">安全退出</a> </p>
            </div>
            
            </div>


    </div>
    <div data-options="region:'center'" style="padding:5px;background:#eee;">
        <div id="con">
            <div title="系统首页" >
               <iframe frameborder="0" width="100%" height="100%" name="frameName" src="home.jsp" scrolling="auto" id="ifDiv" ></iframe>
            </div>
        </div>

    </div>
</div>
<div id="myMes">

<p><label class="diaLable">用户名：</label><input  class="easyui-validatebox TailInput" disabled="disabled" data-options="required:true,novalidate:true" value="${LOGIN_USER.adminName}"></p>
    <p><label class="diaLable">用户密码：</label><input  type="password" value="${LOGIN_USER.password}" class="easyui-validatebox TailInput" data-options="required:true,"></p>
    <div class="forSubmint"> <a href="#" class="easyui-linkbutton"  iconCls="icon-save" >保存</a><a href="#" class="easyui-linkbutton"  iconCls="icon-redo" >重置</a> </div>
</div>

<script src="js/jquery-easyui-1.5.3/jquery.min.js"></script>
<script src="js/jquery-easyui-1.5.3/jquery.easyui.min.js"></script>
<script src="js/jquery-easyui-1.5.3/locale/easyui-lang-zh_CN.js"></script>
<script src="js/main.js"></script>

</body>
</html>